package tazadum.engine.trigger;

public class BPMAdapter implements Adapter {
	private final float ratio;

	public BPMAdapter(final float bpm) {
		this.ratio = bpm / 60;
	}

	@Override
	public float convert(final float value) {
		return value * ratio;
	}
}
